package com.project.service.Impl;

import com.project.bo.TravelPdfBO;
import com.project.mapper.InsuranceTravelMapper;
import com.project.pojo.InsuranceTravelTemp;
import com.project.service.InsuranceTravelService;
import com.project.vo.InsuranceTravelVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class InsuranceTravelServiceImpl implements InsuranceTravelService {
    @Autowired
    InsuranceTravelMapper insuranceTravelMapper;

    @Override
    public int insertTravelTemp(InsuranceTravelTemp travelTemp) {
        return insuranceTravelMapper.insert(travelTemp);
    }

    @Override
    public InsuranceTravelVO getTravelById(int orderid) {
        return null;
    }

    @Override
    public TravelPdfBO getTravelBoById(int id) {
        return insuranceTravelMapper.getTravelBoById(id);
    }

}
